package com.webshh.websocket;

import com.jcraft.jsch.UserInfo;

/**
 * @author frank
 * @date 2019-02-26 9:57
 * @desc
 **/
public class ShellInfo implements UserInfo {
    @Override
    public String getPassphrase() {
        return null;
    }

    @Override
    public String getPassword() {
        return null;
    }

    @Override
    public boolean promptPassword(String s) {
        return false;
    }

    @Override
    public boolean promptPassphrase(String s) {
        return false;
    }

    @Override
    public boolean promptYesNo(String s) {
        return true;
    }

    @Override
    public void showMessage(String s) {
    }
}
